package com.qq.afterSaleSystem.entity;

import java.math.BigDecimal;

public class MaintainMoney {
    private Integer id;
    private String partsName;
    private BigDecimal partsMoney;
    private BigDecimal maintainMoney;
    private BigDecimal ingredientsMoney;
    private BigDecimal allMoney;
    private String time;
    private Integer car_id;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPartsName() {
        return partsName;
    }

    public void setPartsName(String partsName) {
        this.partsName = partsName;
    }

    public BigDecimal getPartsMoney() {
        return partsMoney;
    }

    public void setPartsMoney(BigDecimal partsMoney) {
        this.partsMoney = partsMoney;
    }

    public BigDecimal getMaintainMoney() {
        return maintainMoney;
    }

    public void setMaintainMoney(BigDecimal maintainMoney) {
        this.maintainMoney = maintainMoney;
    }

    public BigDecimal getIngredientsMoney() {
        return ingredientsMoney;
    }

    public void setIngredientsMoney(BigDecimal ingredientsMoney) {
        this.ingredientsMoney = ingredientsMoney;
    }

    public BigDecimal getAllMoney() {
        return allMoney;
    }

    public void setAllMoney(BigDecimal allMoney) {
        this.allMoney = allMoney;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Integer getCar_id() {
        return car_id;
    }

    public void setCar_id(Integer car_id) {
        this.car_id = car_id;
    }

    public MaintainMoney() {
    }

    public MaintainMoney(Integer id, String partsName, BigDecimal partsMoney, BigDecimal maintainMoney, BigDecimal ingredientsMoney, BigDecimal allMoney, String time, Integer car_id) {
        this.id = id;
        this.partsName = partsName;
        this.partsMoney = partsMoney;
        this.maintainMoney = maintainMoney;
        this.ingredientsMoney = ingredientsMoney;
        this.allMoney = allMoney;
        this.time = time;
        this.car_id = car_id;
    }

    @Override
    public String toString() {
        return "MaintainMoney{" +
                "id=" + id +
                ", partsName='" + partsName + '\'' +
                ", partsMoney=" + partsMoney +
                ", maintainMoney=" + maintainMoney +
                ", ingredientsMoney=" + ingredientsMoney +
                ", allMoney=" + allMoney +
                ", time='" + time + '\'' +
                ", car_id=" + car_id +
                '}';
    }
}
